const express = require('express');
const app = express();
const port = 3000;

app.set('view engine', 'pug');

app.use('/public', express.static('public'))

app.get('/', function (req, res) {
  console.log(req.url); 
  
  res.render('index')
});

app.listen(port, () => console.log(`Example app listening on port ${port}!`));
